package com.ruoyi.audit.controller;

import com.ruoyi.audit.domain.BusCarPackageAudit;
import com.ruoyi.audit.domain.vo.HandleAuditParam;
import com.ruoyi.audit.service.IBusCarPackageAuditService;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 审核信息Controller
 *
 * @author ruoyi
 * @date 2023-11-02
 */
@RestController
@RequestMapping("/audit/done")
public class CarPackageAuditDoneController extends BaseController {
    @Autowired
    private IBusCarPackageAuditService busCarPackageAuditService;

    /**
     * 查询我的已办列表
     */
    @PreAuthorize("@ss.hasPermi('audit:done:list')")
    @GetMapping("/list")
    public TableDataInfo list() {
        List<BusCarPackageAudit> list = busCarPackageAuditService.selectAuditDoneList();
        return getDataTable(list);
    }


}
